package com.admin.vo.system;

import java.util.List;

import com.admin.common.enums.EnumIstatus;
import com.admin.domain.SysParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("UpdateAdminVO(系统用户)")
public class UpdateAdminVO {

    @ApiModelProperty(value = "用户id", required = true)
    private Integer userId;

    @ApiModelProperty(value = "登录名", required = true)
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "真实姓名", required = true)
    private String realname;

    @ApiModelProperty(value = "区域")
    private String regionName;

    @ApiModelProperty(value = "区域标识")
    private String regionId;

    private String regionIds;


    @ApiModelProperty(value = "账号状态", required = true)
    private List<IstatusSelectedVO> istatusVOs;

    @ApiModelProperty(value = "角色", required = true)
    private List<RoleSelectedVO> roleVOs;


    private List<SysParam> regionParams;

    /**
     * 获取
     * 
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * 
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取用户名
     * 
     * @return username 用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置用户名
     * 
     * @param username 用户名
     */
    public void setUsername(String username) {
        EnumIstatus.values();
        this.username = username == null ? null : username.trim();
    }

    /**
     * 获取用户密码
     * 
     * @return password 用户密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置用户密码
     * 
     * @param password 用户密码
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 获取会员手机号
     * 
     * @return mobile 会员手机号
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置会员手机号
     * 
     * @param mobile 会员手机号
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * 获取会员邮箱
     * 
     * @return email 会员邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置会员邮箱
     * 
     * @param email 会员邮箱
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * 获取真实姓名
     * 
     * @return realname 真实姓名
     */
    public String getRealname() {
        return realname;
    }

    /**
     * 设置真实姓名
     * 
     * @param realname 真实姓名
     */
    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public List<IstatusSelectedVO> getIstatusVOs() {
        return istatusVOs;
    }

    public void setIstatusVOs(List<IstatusSelectedVO> istatusVOs) {
        this.istatusVOs = istatusVOs;
    }

    public List<RoleSelectedVO> getRoleVOs() {
        return roleVOs;
    }

    public void setRoleVOs(List<RoleSelectedVO> roleVOs) {
        this.roleVOs = roleVOs;
    }

}